package com.woniu.service.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class TestVoMin {

    private String testCode;
    private String testName;
    private String testType;
    private String testPictureUrl;
    public TestVoMin(ShowTestVo showTestVo){
     this.testCode=showTestVo.getTestCode();
     this.testName=showTestVo.getTestName();
     this.testType=showTestVo.getTestType();
     this.testPictureUrl=showTestVo.getTestPictureUrl();
    }
}
